package com.inibb.app.service.security;

import java.util.Collection;

import com.inibb.app.vo.ModuleDTO;
import com.inibb.app.vo.security.AuthorityDTO;






/**
 * Local service for Authority.
 */
public interface IAuthorityService {
	
	public Collection<AuthorityDTO> getAll ();
	public Collection<ModuleDTO> getAllModules ();
	
	public Collection<AuthorityDTO> getRoleAuthorities(final String roleId);
	
	public Collection<ModuleDTO> getAllModules(String roleId);
	
   /**
    * @param name
    * @return the {@link AuthorityDTO} with ID as the id
    */
//	public AuthorityDTO getAuthorityById(String id);
//	
//	public AuthorityDTO getAuthorityByName(String name);
//	
	public void save (String[] authIds, String roleId);
//	
//	public void update (AuthorityDTO authorityDTO);
//	
//	public void delete (AuthorityDTO authorityDTO);
//	
//	
//	
//	public Collection<AuthorityDTO> getAuthorityBy (PageFilter filter, PageSort sort);
//	
//	public int getAuthorityCountBy (PageFilter filter, PageSort sort);
//	
	
}
